<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改【添加订单】')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-Information-edit" th:object="${customerInformation}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">
                <label class="col-sm-3 control-label">寄件人数据：</label>
                <div class="col-sm-8">
                    <textarea name="sendText" class="form-control">[[*{sendText}]]</textarea>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">寄件省：</label>
                <div class="col-sm-8">
                    <input name="sendProvince" th:field="*{sendProvince}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">寄件市：</label>
                <div class="col-sm-8">
                    <input name="sendCity" th:field="*{sendCity}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">寄件区：</label>
                <div class="col-sm-8">
                    <input name="sendCounty" th:field="*{sendCounty}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">寄件街道：</label>
                <div class="col-sm-8">
                    <input name="sendTown" th:field="*{sendTown}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">寄件姓名：</label>
                <div class="col-sm-8">
                    <input name="sendPerson" th:field="*{sendPerson}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">寄件详细地址：</label>
                <div class="col-sm-8">
                    <input name="sendDetail" th:field="*{sendDetail}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">寄件电话号码：</label>
                <div class="col-sm-8">
                    <input name="sendPhonenum" th:field="*{sendPhonenum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">收件人数据：</label>
                <div class="col-sm-8">
                    <input name="receiveText" th:field="*{receiveText}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">收件省：</label>
                <div class="col-sm-8">
                    <input name="receiveProvince" th:field="*{receiveProvince}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">寄件市：</label>
                <div class="col-sm-8">
                    <input name="receiveCity" th:field="*{receiveCity}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">收件区：</label>
                <div class="col-sm-8">
                    <input name="receiveCounty" th:field="*{receiveCounty}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">收件街道：</label>
                <div class="col-sm-8">
                    <input name="receiveTown" th:field="*{receiveTown}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">收件姓名：</label>
                <div class="col-sm-8">
                    <input name="receivePerson" th:field="*{receivePerson}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">收件详细地址：</label>
                <div class="col-sm-8">
                    <input name="receiveDetail" th:field="*{receiveDetail}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">寄件电话号码：</label>
                <div class="col-sm-8">
                    <input name="receivePhonenum" th:field="*{receivePhonenum}" class="form-control" type="text">
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">订单号：</label>
                <div class="col-sm-8">
                    <input name="number" th:field="*{number}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">姓名：</label>
                <div class="col-sm-8">
                    <input name="name" th:field="*{name}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">电话：</label>
                <div class="col-sm-8">
                    <input name="phone" th:field="*{phone}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">对货码：</label>
                <div class="col-sm-8">
                    <input name="code" th:field="*{code}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">菜鸟账号：</label>
                <div class="col-sm-8">
                    <input name="rookieAccount" th:field="*{rookieAccount}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/Information";
        $("#form-Information-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-Information-edit').serialize());
            }
        }
    </script>
</body>
</html>